import request from "../request/request";
const api_name = '';
export default {
  getData(url: any, params: any) {
    return request({
      url: api_name + url,
      method: 'get',
      params
    })
  },
  postData(url: any, params: any) {
    return request({
      url: api_name + url,
      method: 'post',
      data: params
    })
  }
}